import Vue from 'vue'
import App from './App.vue'
import router from './router'
import qs from 'qs'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'font-awesome/css/font-awesome.min.css' 
import axios from 'axios'
import cookie from '../src/assets/js/cookie'
import api from '../src/assets/js/api/index'
import store from '../src/store'
import Vuex from 'vuex';
import commonFun from './assets/js/commonFunction';
import './assets/js/index';
import rules from './assets/js/rules/rules'

Vue.prototype.$qs = qs;
Vue.prototype.$api = api
Vue.prototype.$axios = axios;
Vue.prototype.$cookie = cookie;
Vue.prototype.$rules = rules;
Vue.prototype.$commonFun = commonFun
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(Vuex);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
